#define TIME_1HZ   500
#define TIME_05HZ 2*TIME_1HZ
#define TIME_4HZ   TIME_1HZ/4
#define TIME_10HZ  TIME_1HZ/10

int delay_time = 5 * TIME_1HZ;
int delay_loop = 10 * TIME_1HZ;

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
  Serial.begin(9600);
}

// the loop function runs over and over again forever
void loop() {

  Serial.println("----> Blink with 0.5 Hz Start 开始 <----");
    digitalWrite(LED_BUILTIN, HIGH);
    delay(TIME_05HZ );
    digitalWrite(LED_BUILTIN, LOW);
    delay(TIME_05HZ );
    
    digitalWrite(LED_BUILTIN, HIGH);
    delay(TIME_05HZ );
    digitalWrite(LED_BUILTIN, LOW);
    delay(TIME_05HZ );
    
    digitalWrite(LED_BUILTIN, HIGH);
    delay(TIME_05HZ );
    digitalWrite(LED_BUILTIN, LOW);
    delay(TIME_05HZ );
  Serial.println("----> Blink with 0.5 Hz End   结束 <----");
  
  delay(delay_time);

  Serial.println("----> Blink with 1 Hz Start 开始 <----");
    digitalWrite(LED_BUILTIN, HIGH);
    delay(TIME_1HZ);
    digitalWrite(LED_BUILTIN, LOW);
    delay(TIME_1HZ);
    
    digitalWrite(LED_BUILTIN, HIGH);
    delay(TIME_1HZ);
    digitalWrite(LED_BUILTIN, LOW);
    delay(TIME_1HZ);
    
    digitalWrite(LED_BUILTIN, HIGH);
    delay(TIME_1HZ);
    digitalWrite(LED_BUILTIN, LOW);
    delay(TIME_1HZ);
  Serial.println("----> Blink with 1 Hz End   结束 <----");

  delay(delay_time);

  Serial.println("----> Blink with 4 Hz Start 开始 <----");
    digitalWrite(LED_BUILTIN, HIGH);
    delay(TIME_4HZ);
    digitalWrite(LED_BUILTIN, LOW);
    delay(TIME_4HZ);
    
    digitalWrite(LED_BUILTIN, HIGH);
    delay(TIME_4HZ);
    digitalWrite(LED_BUILTIN, LOW);
    delay(TIME_4HZ);
    
    digitalWrite(LED_BUILTIN, HIGH);
    delay(TIME_4HZ);
    digitalWrite(LED_BUILTIN, LOW);
    delay(TIME_4HZ);
  Serial.println("----> Blink with 4 Hz End   结束 <----");

  delay(delay_time);

  Serial.println("----> Blink with 10 Hz Start 开始 <----");
    digitalWrite(LED_BUILTIN, HIGH);
    delay(TIME_10HZ);
    digitalWrite(LED_BUILTIN, LOW);
    delay(TIME_10HZ);
    
    digitalWrite(LED_BUILTIN, HIGH);
    delay(TIME_10HZ);
    digitalWrite(LED_BUILTIN, LOW);
    delay(TIME_10HZ);
    
    digitalWrite(LED_BUILTIN, HIGH);
    delay(TIME_10HZ);
    digitalWrite(LED_BUILTIN, LOW);
    delay(TIME_10HZ);
  Serial.println("----> Blink with 10 Hz End   结束 <----");
  
    delay(delay_loop);
}
